RETVAL=0
prog_log="$HOME/logs"
last_seven_day="$(date -d '-7 day' +%Y-%m-%d)"
last_three_day="$(date -d '-3 day' +%Y%m%d)"
find ${prog_log}/ -name *.log.${last_seven_day}* -exec rm -vf {} \;
find ${HOME}/backup/ -name *.jar.${last_three_day}* -exec rm -vf {} \;